package com.example.service;

import com.example.dto.CaptchaDTO;
import org.springframework.stereotype.Service;

@Service
public interface CaptchaService {
    /**
     * 生成验证码
     */
    CaptchaDTO generateCaptcha();
    
    /**
     * 验证验证码
     */
    boolean verifyCaptcha(String captchaId, String code);
}